#include "TcpClient.hpp"
#include <memory>


// 127.0.0.1 8888
int main(int argc, char* argv[])
{
    if(argc != 3)
    {
        perror("parameter");
        exit(1);
    }

    uint16_t serverport = std::stoi(argv[2]);
    std::string serverip = argv[1];

    std::unique_ptr<TcpClient> tcpcli = std::make_unique<TcpClient>(serverport, serverip);

    tcpcli->TestConnect();

    return 0;
}